package ZooManagement;

public class Logistics {
    private static final double BASE_COST_PER_KM = 0.50;
    private static final double COST_PER_KG_PER_KM = 0.02;

    public static double calculateTransportCost(Zoo fromZoo, Zoo toZoo, Animal animal) {
        // In a real system, we'd calculate actual distance between locations
        // For this example, we'll use a fixed distance of 100km
        double distance = 100.0;
        return BASE_COST_PER_KM * distance + COST_PER_KG_PER_KM * distance * animal.getWeight();
    }
}
